package com.lovetemperature.action;

import java.util.List;

import com.lovetemperature.model.Member;
import com.lovetemperature.service.MemberService;
import com.opensymphony.xwork2.ActionSupport;

public class MemberAction extends ActionSupport {
	private MemberService memberService;
	private List<Member> memberList;
	
	public String show(){
		memberList = memberService.findAllMember();
		return "success";
	}

	public MemberService getMemberService() {
		return memberService;
	}

	public void setMemberService(MemberService memberService) {
		this.memberService = memberService;
	}

	public List<Member> getMemberList() {
		return memberList;
	}

	public void setMemberList(List<Member> memberList) {
		this.memberList = memberList;
	}
}
